home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
151-175
/
disk_156
/
flex
/
flex2
/
gnu.lib.src
/
xmalloc.c
< prev
next >
Wrap
C/C++ Source or Header
|
1992-05-06
|
208b
|
15 lines
/*
* xmalloc -- a "safe" malloc
*/
char *
xmalloc (size)
int size;
{
extern char *malloc ();
register char *ptr = malloc (size);
if (ptr != 0) return (ptr);
memory_full ();
/*NOTREACHED*/
}